;
> \starttext
>
>
> This \inframed{works} fine.
>
> \inframed{But} this not.
>
> \stoptext
https://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F
Aditya
___
If
There is a bug with \framed and related commands: If this is the first object in
a line, a linebreak is inserted! See the following example:
\starttext
This \inframed{works} fine.
\inframed{But} this not.
\stoptext
Thank
on, 22 Oct 2018, Fabrice Couvreur wrote:
>>
>> > Hi,
>> > When I use the \inframed{} command twice, they are not on the same
>> baseline.
>> > Thank you.
>> > Fabrice
>> >
>> > \starttext
>> Add \dontleavehmode
>> >
Hi Aditya,
Thanks.
Fabrice
Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan a écrit :
> On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
>
> > Hi,
> > When I use the \inframed{} command twice, they are not on the same
> baseline.
> > Thank you.
> > Fabrice
> &g
On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice
\starttext
Add \dontleavehmode
\inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext
See
Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice
\starttext
\inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext
Dear Hans,
Deleting “height=“ fixes the problem.
Thank you so much.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 1/4/2018 10:11 AM, Jeong Dal wrote:
numbercommand={\inframed[corner=round, framecolor=dYellow, loffset=1ex,
roffset=1ex, height=1.3em, background=color,backgroundcolor=dGreen]},
just omit the height key
Dear all,
First, Happy New Year!
In the output of the following sample code, the baseline of the framed text
“Example” is slightly lower than the following sentences. But, in the wiki,
\inframed is set center-aligned.
Please tell me how to fix it.
Thank you for reading.
Best regards
.
Best regards,
Dalyoung
> you need "numbercommand":
>
> \defineenumeration
>[Example]
>[headcommand={\framed[background=color,backgroundcolor=red]},
>
> numbercommand={\inframed[height=2ex,background=color,backgroundcolor=green]},
>
> titlecom
you for reading.
Best regards,
Dalyoung
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes,
prefixsegments=chapter,
way=bychapter
I'd expect a double frame for a nested \inframed, too. And also
fog in the last row always on the baseline fort \inframed.
\starttext
foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo
fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
\setupframed[strut=no]
fog\framed{\framed{fog
On 7/22/2014 2:13 PM, Herbert Voss wrote:
I'd expect a double frame for a nested \inframed, too. And also
fog in the last row always on the baseline fort \inframed.
\starttext
foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo
fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}}
\starttext
\awort{بِالصَّالِحِينَ}\blank
\awort{\inframed{بِالصَّالِحِينَ}}
\stoptext
On Thu, 12 Sep 2013, H. Özoguz wrote:
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}}
Untested, but why not
\defineframed[awort
Salaam,
On Thu, 12 Sep 2013 06:09:46 -0600, H. Özoguz h.oezo...@mmnetz.de wrote:
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1
Salam, @Idris, Aditya: Thank you very much, works perfect for me.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
\stoptext
What am I doing wrong?
TIA
Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed(B))}
\input knuth
\stoptext
Wolfgang
Great, thanks!
Any info about usage of .nested
Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed
=broad,
number=yes,
before={\blank[big]},
after=\blank]
The problem is that the bottom of the framed text is aligned just below the
center of the following text lines. The vertical center is a little bit
higher than that of the following lines. If I use \inframed, then the top
line
=\blank]
The problem is that the bottom of the framed text is aligned just below the
center of the following text lines. The vertical center is a little bit higher
than that of the following lines. If I use \inframed, then the top line of
the frame is a little bit higher than the center
\defineoverlay[leopard][\uniqueMPgraphic{lions b}]
\def\nota#1 {\inframed[frame=off,background=leopard]{#1}}
\starttext
\nota{test 1:} This is a test for line separation.
%\midaligned{\nota{test 2}}
\stoptext
Then the sentence This is a test. is written in a new line as following.
test 1:
This is a test
[leopard][\uniqueMPgraphic{lions b}]
\def\nota#1 {\inframed[frame=off,background=leopard]{#1}}
\starttext
\nota{test 1:} This is a test for line separation.
%\midaligned{\nota{test 2}}
\stoptext
Change the definition of \nota, and it just works:
\startuseMPgraphic{lions b}
picture pic;
path p ; p
Dear Hongwen,
\dontleavehmode make it work.
The answer is always around me but not for my eyes.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Hello Everybody,
Hans reacted on the question of how to move a framed text
relative to another framed text by: search for 'layers' on the wiki;
they provide precise positioning
Looking to the wiki site, I read at the first sentence:
Layers are ConTeXt's mechanism for absolute positioning of
Am 14.08.2009 um 09:12 schrieb rrvhassel:
Hello Everybody,
Hans reacted on the question of how to move a framed text
relative to another framed text by: search for 'layers' on the wiki;
they provide precise positioning
Looking to the wiki site, I read at the first sentence:
Layers are
Hello Everybody,
does somebody know how to move an inframed text, or framed text,
RELATIVE to another framed text ( or inframed text).
Minimal example:
### begin example:
\setupcolors[state=start]
\starttext
\framed{\inframed{Hello} Everybody}
\stoptext
### end example.
How to move
On Thu, Jan 15, 2009 at 6:44 AM, Michael Green
merely.ridicul...@gmail.comwrote:
On Thu, Jan 15, 2009 at 1:04 AM, Luigi Scarso wrote:
There is a space in between \ClassDate{..} and \ClassTopic{..}:
\ClassDate{Monday, January 26} \ClassTopic{glaucon's challenge}
Is my pdf right ?
-- luigi
I am having some trouble with horizontal spacing. I'm trying to set
one width for \inframed and \hskip but the two are coming out different.
Here is an example. It is a syllabus for a college course. I would
like the entries for topics (e.g. “Glaucon’s challenge”), descriptions
(e.g
On Thu, Jan 15, 2009 at 1:04 AM, Luigi Scarso wrote:
There is a space in between \ClassDate{..} and \ClassTopic{..}:
\ClassDate{Monday, January 26} \ClassTopic{glaucon's challenge}
Is my pdf right ?
-- luigi
Oh thank you, that's exactly what I wanted. It's hard to believe that
didn't
On Wed, Aug 20, 2008 at 8:32 PM, Peter Münster [EMAIL PROTECTED] wrote:
On Wed, Aug 20 2008, Peter Rolf wrote:
A \framed at the beginning of a paragraph starts in vertical mode (stuff
is ordered vertically). The macro \dontleavehmode ensures, that the
horizontal mode is used.
Hello,
Could
On Thu, Aug 21 2008, Wolfgang Schuster wrote:
For beginners (especially former LaTeX users), this is a real headache:
\framed, \externalfigure and so on start sometimes a new paragraph, and
sometimes not. In my opinion, these commands should behave like a simple
hbox.
But this is
On Thu, Aug 21, 2008 at 11:23 AM, Peter Münster [EMAIL PROTECTED] wrote:
On Thu, Aug 21 2008, Wolfgang Schuster wrote:
For beginners (especially former LaTeX users), this is a real headache:
\framed, \externalfigure and so on start sometimes a new paragraph, and
sometimes not. In my
Hello
When I use a inframed command at the start of a line it doesn't allow
to be continued by text :
**
\starttext
blabla \inframed{essai} blabla
\inframed{essai} blabla
\stoptext
Eric DÉTREZ schrieb:
Hello
When I use a inframed command at the start of a line it doesn't allow
to be continued by text :
**
\starttext
blabla \inframed{essai} blabla
\inframed{essai} blabla
\stoptext
On Wed, Aug 20 2008, Peter Rolf wrote:
A \framed at the beginning of a paragraph starts in vertical mode (stuff
is ordered vertically). The macro \dontleavehmode ensures, that the
horizontal mode is used.
Hello,
Could you now change this behaviour please in MKIV? I think MKIV does not
need
Hi Willi
You can always define your own commands e.g.
\define[1]\CircleFramed{%
...
Aah! My eyes are opened. Thank you very much. That will be useful in a
number of areas.
Duncan
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
them anywhere in the document. If I
\setupframed with just the definition of one of them then all my \inframed
will come out one way.
Is there a way of naming a setupframed definition so that I can set up, for
example, \circleframed{} and \highlightframed{} commands?
\starttext
\setupcolors[state
I have the following test file:
--
\setupoutput[pdftex]\setupcolor[rgb]\starttext
\items[symbol=none,location=top]{{\inframed[frame=on,corner=round,radius=3mm
,offset=1mm]{demand-pull
inflation}},{\inframed[frame=on,corner=round,radius=3mm,offset=1mm]{in
comparison}},capital-intensive}
\items
42 matches
Mail list logo